@import './mixin.scss';
.container{
    width: 1226px;
    margin-right: auto;
    margin-left: auto;
  }
  a{
    img{
      width: 100%;
      height: 100%;
    }
  }
  input{
    outline: none;
    box-sizing: border-box;
    font-size: 14px;
  }
  .fl{
    float: left;
  }
  .fr{
    float: right;
  }
  .clearfix:before,.clearfix:after{
    content:' ';
    display:table
  }
  .clearfix:after{
    clear:both
  }

  //公共logo
  .header-logo {
    display: inline-block;
    width: 55px;
    height: 55px;
    background-color: #ff6600;
    overflow: hidden;
    a {
      display: inline-block;
      width: 110px;
      height: 55px;
      &:before {
        content: " ";
        //调用mixin.scss中的bgImg方法传入宽、高、图片地址、及bgsize样式
        @include bgImg(55px, 55px, "/imgs/mi-logo.png", 55px);
        transition: margin 0.2s;
      }
      &:after {
        content: "";
        //调用
        @include bgImg(55px, 55px, "/imgs/mi-home.png", contain);
      }
      &:hover:before {
        margin-left: -55px;
        transition: margin 0.2s;
      }
    }
  }